package com.bean;

import java.util.ArrayList;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection="newFan")
public class NewFan {
	@Id
	private String id;
	private String userId;
	private ArrayList<Fans> fans;
	public class Fans{
		private String userId;
		private String isNewFans;
		private String avatar;
		private String nickname;
		private String from;
		public String getUserId() {
			return userId;
		}
		public void setUserId(String userId) {
			this.userId = userId;
		}
		public String getIsNewFans() {
			return isNewFans;
		}
		public void setIsNewFans(String isNewFans) {
			this.isNewFans = isNewFans;
		}
		public String getAvatar() {
			return avatar;
		}
		public void setAvatar(String avatar) {
			this.avatar = avatar;
		}
		public String getNickname() {
			return nickname;
		}
		public void setNickname(String nickname) {
			this.nickname = nickname;
		}
		public String getFrom() {
			return from;
		}
		public void setFrom(String from) {
			this.from = from;
		}
	}
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public ArrayList<Fans> getFans() {
		return fans;
	}

	public void setFans(ArrayList<Fans> fans) {
		this.fans = fans;
	}
}
